package vis.app;

import java.util.ArrayList;

import vis.items.visualItem.EVisualType;
import vis.items.visualItem.VisualSketch;

public class RegistryItem {
	ArrayList<VisualSketch> registeredItems;

	public ArrayList<VisualSketch> getRegisteredItems() {
		return registeredItems;
	}

	public RegistryItem() {
		registeredItems = new ArrayList<VisualSketch>();

		doRegisterItems();
	}

	private void doRegisterItems() {
		registeredItems.add(new VisualSketch(
				EVisualType.BASIC_DATA_STRUCTURE,
				"Stack",
				vis.items.ds.stack.StackSketch.class.getName()));

		registeredItems.add(new VisualSketch(
				EVisualType.SORTING_ALGO,
				"SelectionSort",
				vis.items.algo.sorting.SelectionSortSketch.class.getName()));

		registeredItems.add(new VisualSketch(
				EVisualType.MISC,
				"Robot",
				vis.items.robot.RobotSketch.class.getName()));
	}

}
